.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hover {
  cursor: pointer;
}

.font-weight {
  font-weight: bold;
}

// 单行省略
.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

// 两行省略
.text-ellipsis-2 {
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 组件库样式
&::-webkit-scrollbar {
  width: 8px;
  height: 6px; // 高度写不写，都不影响，因为会根据内容的长度自动计算
}

&::-webkit-scrollbar-thumb {
  background-color: #dbdbdb;
  border-radius: 10px; // 滑块圆角
}

.confirm-btn {
  color: #fff;
  background-color: #5466e7;
  border-radius: 4px;
  box-shadow: 0 12px 19.9px 0 #5466e766;
  width: 70px;
  height: 30px;

  --el-button-hover-bg-color: #5466e7;
}

.cancel-btn {
  border-color: #5466e7;
  color: #5466e7;
  width: 70px;
  height: 30px;

  --el-button-hover-bg-color: #fff;
  --el-button-hover-text-color: #5466e7;
  --el-button-hover-border-color: #5466e7;
}
